package com.xiang.peacock.beak.spring.idol;

import org.aspectj.lang.ProceedingJoinPoint;

public class Audience {

	public void before() {
		System.out.println("开始");
	}
	
	public void after() {
		System.out.println("结束");
	}
	
	public void arround(ProceedingJoinPoint joinPoint) {
		System.out.println("包围前");
		try {
			joinPoint.proceed();
		} catch (Throwable e) {
			e.printStackTrace();
		}
		System.out.println("包围后");
	}
}
